<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>北京的大小</title>
		<style>
			.c1{
				height: 500px;
				width: 800px;
				border: 2px solid goldenrod;
				background-image: url(../images/kongzi.jpg);
				background-repeat: no-repeat;
				margin: 5px;
			}
			.c2{
				background-size: 140px 130px;
			}
			.c3{
				background-size: cover;
			}
			.c4{
				background-size: contain;
			}
			.c5{
				background-size:100% 100% ;
			}
		</style>
	</head>
	<body>
		<div class="c1 c2"></div>
		<div class="c1 c3"></div>
		<div class="c1 c4"></div>
		<div class="c1 c5"></div>
		<div class="c1"></div>
		<div class="c1"></div>
	</body>
</html>
